package com.tdzh.maimaiti.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by hisou on 2016/4/14.
 */
public class AnswerItem implements Parcelable {
    private String answerer;
    private String answerDetails;

    protected AnswerItem(Parcel in) {
        answerer = in.readString();
        answerDetails = in.readString();
    }

    public static final Creator<AnswerItem> CREATOR = new Creator<AnswerItem>() {
        @Override
        public AnswerItem createFromParcel(Parcel in) {
            return new AnswerItem(in);
        }

        @Override
        public AnswerItem[] newArray(int size) {
            return new AnswerItem[size];
        }
    };

    public String getAnswerer() {
        return answerer;
    }

    public void setAnswerer(String answerer) {
        this.answerer = answerer;
    }

    public String getAnswerDetails() {
        return answerDetails;
    }

    public void setAnswerDetails(String answerDetails) {
        this.answerDetails = answerDetails;


    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {

    }
}
